package com.dzl.finance.dao;

import com.dzl.base.mapper.BaseMapper;
import com.dzl.finance.pojo.WelfareFinancePayment;
import com.dzl.finance.pojo.query.WelfareFinancePaymentQuery;
import com.dzl.finance.pojo.vo.WelfareFinancePaymentVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 财务打款信息表(welfare_finance_payment)表数据库访问层
 * @author liuguanjun
 * @date 2021-10-12 15:04:37
 */
@Repository
public interface WelfareFinancePaymentMapper extends BaseMapper<WelfareFinancePayment> {

    /**
     * 查询财务打款顶部状态栏数量
     * @date 2021/10/12 16:33
     * @author liuguanjun
     * @param query 打款批次查询条件
     */
    List<Integer> selectWelfareFinancePaymentCount(WelfareFinancePaymentQuery query);

    /**
     * 打款批次数据列表查询
     * @date 2021/10/12 15:37
     * @author liuguanjun
     * @param query 打款批次查询条件
     */
    List<WelfareFinancePaymentVo> selectWelfareFinancePaymentList(WelfareFinancePaymentQuery query);
}